package com.relytosoft.mizar.media.analyze.api.pojo.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 图片分析识别请求实体
 *
 * @Author SunLi
 * @Date: 2022/6/6 13:46
 * @Version 1.0
 */
public class StruFeatureExtractionDto implements Serializable {
    private static final long serialVersionUID = -1354076745922765860L;
    /**
     * 目标类型 1 人；2 机动车；3 非机动车
     * 结构化需要
     */
    @ApiModelProperty(value = "目标类型（结构化时使用，1 人；2 机动车；3 非机动车）")
    private Integer targetType;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String imageUrl;

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "StruFeatureExtractionDto{" +
                "targetType=" + targetType +
                ", imageUrl='" + imageUrl + '\'' +
                '}';
    }
}
